using UniversalAdminSystem.Domian.Core.Interfaces;
using UniversalAdminSystem.Domian.LogManagement.Aggregates;

namespace UniversalAdminSystem.Domian.LogManagement.IRepository;

public interface ILogEntryRepository : IRepository<LogEntry>
{
    Task<IEnumerable<LogEntry>> GetByLevelAsync(string level);
    Task<IEnumerable<LogEntry>> GetByUserAsync(Guid userId);
    Task<IEnumerable<LogEntry>> GetByDateRangeAsync(DateTime start, DateTime end);
    Task<IEnumerable<LogEntry>> GetBySourceAsync(string source);
} 